package com.bdqn.ch03.pojo;

import com.bdqn.ch03.mapper.NewsDao;
import com.bdqn.ch03.mapper.impl.NewsDaoMySqlImpl;

/**
 * MySqlDaoFactory
 *
 * @aurhor Administrator  whs
 * @since 2024/7/1
 */
public class MySqlDaoFactory implements AbstractFactory{
    /**
     * @return
     */
    @Override
    public NewsDao getInstance() {
        return new NewsDaoMySqlImpl();
    }
}
